package com.arangodb.arangodemo.arangoEntity;

import com.arangodb.springframework.annotation.Document;
import org.springframework.data.annotation.Id;

@Document("UgcArticle")
public class UgcArticle {
    @Id
    private String ArticleId;
    //是否屏蔽
    private Integer ban;
    //是否公开
    private Integer open;
    //点赞数
    private Long Like;
    private Long createTime;

    private Long userId;

    private String ArtId;

    public String getArtId() {
        return ArtId;
    }

    public void setArtId(String artId) {
        ArtId = artId;
    }

    public String getArticleId() {
        return ArticleId;
    }

    public void setArticleId(String articleId) {
        ArticleId = articleId;
    }

    public Integer getBan() {
        return ban;
    }

    public void setBan(Integer ban) {
        this.ban = ban;
    }

    public Integer getOpen() {
        return open;
    }

    public void setOpen(Integer open) {
        this.open = open;
    }

    public Long getLike() {
        return Like;
    }

    public void setLike(Long like) {
        Like = like;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "UgcArticle{" +
                "ArticleId='" + ArticleId + '\'' +
                ", ban=" + ban +
                ", open=" + open +
                ", Like=" + Like +
                ", createTime=" + createTime +
                ", userId=" + userId +
                '}';
    }
}
